//
// Created by 25429 on 2020/8/7.
//

#ifndef SIRIUS_TASK_LIMIT_UP_TIMED_SELL_H
#define SIRIUS_TASK_LIMIT_UP_TIMED_SELL_H

#include "strategy_engine.h"

class task_limit_up_timed_sell : public strategy_task {
public:
    task_limit_up_timed_sell(string name, trade_engine* trade) : strategy_task(
            std::move(name), trade) {
    }

    void init() override;
    void init(int time);
    void on_md_l2_mkt(const SiriusMDRspMarketField &mkt) override;

private:
    int m_trade_time = 0;
};

#endif //SIRIUS_TASK_LIMIT_UP_TIMED_SELL_H
